/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package utilitarios;

/**
 *
 * @author Welisson
 */
public class Sexo {
    public static String letraToSexo(String sexo) {
        switch (sexo) {
            case "M":
                return "Masculino";
            case "F":
                return "Feminino";
            default:
                return sexo;
        }
    }
    
    public static String sexoToLetra(String sexo) {
        switch (sexo) {
            case "Masculino":
                return "M";
            case "Feminino":
                return "F";
            default:
                return sexo;
        }
    }
}
